<!DOCTYPE html>
<html>
  <head>
    {include file="/public/baseheader" /}
  </head>

  <body>
    {include file="public/header" /}
 
    <main class="main">
      {include file="public/menu" /}
      <div class="ny-body wd">
        {include file="public/position" /}
        <div class="ny-banner">
          {if !empty($bannerUrl)}
          <div class="img">
              <img src="{$bannerUrl}" alt="">
          </div>
          {/if}
        </div>

        <div class="cp-typename">
          <h2>{$info.category_name}</h2>
        </div>
        <div class="cp-sx">
          <ul class="cp-sx-menu">
            {if !empty($submenu)}
            {volist name="submenu" id="item"}
            <li>
              <a href="{$item.url}">{$item.category_name}</a>
            </li>
            {/volist}
            {/if}
          </ul>
        </div>
        <div class="list">
          <ul class="list-shop">
            {volist name="list" id="item"}
            <li>
              <a href="/product/article/{$item.content_id}" title="{$item.name}">
                <div class="imgs">
                  <img src="{$item.image_url}" alt="{$item.name}" />
                </div>
                <div class="txt">
                  <p class="title">{$item.name}</p>
                </div>
              </a>
            </li>
            {/volist}
          </ul>
          <div class="fenye">{$list->render()|raw}</div>
        </div>
      </div>
    </main>

    {include file="public/footer" /}
  </body>
</html>
